<%--
  Created by IntelliJ IDEA.
  User: AD
  Date: 13-7-15
  Time: 下午11:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="../images/skin.css" rel="stylesheet" type="text/css" />
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><style type="text/css">

    <style>
<!--
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        background-color: #EEF2FB;
    }
    -->
</style>

<script language="javascript">
    var flag=0;
    function showAll() {
        if(flag == 0) {
            var p=document.createElement("hr");
            //p.appendChild(t);
            //body.appendChild(p);
            document.getElementById('formMain').appendChild(p);
            var table = document.createElement("table");
            table.setAttribute("border","1");
            table.setAttribute("width","100%");
            table.setAttribute("cellpadding","0");
            table.setAttribute("cellspacing","0");

            table.innerHTML += "<tr>" +
                    "<td align='center'>订单号</td><td align='center'>下单日期</td><td align='center'>商品</td><td align='center'>查看详细</td>"
            "</tr>";
            for(var i=0; i<30; i++) {
                var id = 'look'+i;
                table.innerHTML += "<tr>" +
                        "<td align='center'>"+i+"</td><td align='center'>"+i+"</td><td align='center'>"+i+"</td><td align='center'><input type='button' value='查看' id=" +i+"'look'"+"></td>"
                "</tr>";
            }
            document.getElementById('formMain').appendChild(table);
            flag = 1;
        }
    }

</script>

<html>
<head>
    <title>订单查询</title>
</head>
<body  style="background-color:#FAFCFC">
<div style="width:100%; height:30px; background-image:url(images1/bj.PNG)">
</div>





<script src="../bootstrap/js/jquery-1.2.6.pack.js" ></script>
<script src="../bootstrap/js/bootstrap.js" ></script>
</body>
</html>